#include<iostream>
using namespace std;

class preson
{
public:
	preson(char d1 = '1', int age = 1, int id = 1)
		:_name(d1)
		,_age(age)
		,_id(id)
	{
		cout << "preson(char d1, int age, int id)" << endl;
	}
	void print()
	{
		cout << _name << _age << _id << endl;
	}
	~preson()
	{
		cout << "~preson" << endl;
	}
protected:
	char _name;
	int _age;
	int _id;
};
class student : preson
{
	/*~student()
	{
		cout << "student()" << endl;
	}*/
protected:
	int _age = 999;
};